﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Drawing;

namespace Airport
{
    public class Node
    {
        /// <note>
        /// we may or may not want a point data structure. it can make drawing easier for alec
        /// </note>
        private Point coordinate;
        private int x, y, nodeID;
        private float latitude, longitude;

        static Node() 
        { 
        }

        public Node(int id, int x, int y)
        {
            coordinate = new Point(x, y);
            this.x = x;
            this.y = y;
            this.nodeID = id;
        }


        /// <summary>
        /// getters and setters
        /// </summary>
        public float Lat
        {
            get { return latitude; }
            set { latitude = value; }
        }

        public float Lon
        {
            get { return longitude; }
            set { longitude = value; }
        }

        public Point Coord
        {
             get { return coordinate; }
             set { coordinate = value; }
        }
        
    }
}